﻿<%@ Page Language="C#" MasterPageFile="~/masters/m1.master" AutoEventWireup="false"  
CodeFile="login.aspx.cs" Inherits="login" MaintainScrollPositionOnPostback="true" 
Title="My SQL window to db" EnableEventValidation = "false" %>

<%@ MasterType virtualpath="~/masters/m1.master" %>



<asp:Content ID="Content1" ContentPlaceHolderID="m1hcph" Runat="Server">
    <link href="../css/global.css" rel="stylesheet" type="text/css" /> 
   <link href="../css/sql_window.css" rel="stylesheet" type="text/css" /> 
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="m1bcp" Runat="Server">




<div id="labError" class="labLoginError">
    <asp:Label ForeColor="Blue" ID="labLoginError" runat="server"  Visible="true"
    ToolTip="Here are displayed the possilbe error or success msgs from the system">
    </asp:Label>
</div><%-- eof  --%>    
<div class="spacer">
&nbsp;
</div>
    
<div class="row">
    <span class="label"><span class="asterix"> &nbsp;*&nbsp; </span> SQL Server Login user:</span><span
    class="formw">  <asp:TextBox ID="txtSqlAdminName" runat="server" MaxLength="30" Width="130" 
    ToolTip="Enter your Sql Server Login name here"></asp:TextBox></span>
</div>
    <div class="row">
    <span class="label"><span class="asterix">  &nbsp;*&nbsp;</span>Password:</span><span
    class="formw"><asp:TextBox id="txtPass" runat="server" TextMode="Password" 
    MaxLength="30" ToolTip="Enter your password here" Width="130"></asp:TextBox></span>
</div>

<div class="row">
    <span class="label"><span class="asterix"> &nbsp;*&nbsp; </span> Server name:</span><span
    class="formw">  <asp:TextBox ID="txtServerName" runat="server" MaxLength="30" Width="130" 
    ToolTip="Enter the name of the server running the Sql Server"></asp:TextBox></span>
</div>

<%-- 
<div class="row">
    <span class="label"><span class="asterix"> &nbsp;*&nbsp; </span> Default DataBase:</span><span
    class="formw">  <asp:TextBox ID="txtDefaultDb" runat="server" MaxLength="30" Width="170px" 
    ToolTip="Enter the name of the Default database to connect to"></asp:TextBox></span>
</div>
--%>
    <div class="row">
      <span class="label"></span><span
class="formw"><asp:Button ID="ButLogin" runat="server" OnClick="ClickButLogin" 
        Text=" Login " Width="80px" ToolTip = " Press the button or hit Enter to Login to the SQL Server Instance"/> </span>
    </div>

<div class="spacer">
&nbsp;
</div>











</asp:Content>

